package com.qf.mapper;

import com.qf.entity.User;
import com.qf.entity.UserDTO;

import java.util.List;

public interface UserMapper {
    List<User> findAll();

    boolean addUser(User user);

    boolean deleteUser(Integer id);

    boolean updateUser(User user);

    boolean deleteUserBatch(List<Integer> ids);

    List<User> findPage(UserDTO userDto);
}
